﻿using UnityEngine;
using System.Collections;

public class HelloWorldBehaviourScript : MonoBehaviour {

	// Use this for initialization
	void Start () {
        Debug.LogError("开始进入了Hello的主程序了,但我想让他以错误的方式显示");
	}
	
	// Update is called once per frame
	void Update () {
        Debug.Log("每帧时输出一个日志");
	}

    void OnGUI()
    {
        GUI.skin.label.fontSize = 80;
        GUI.Label(new Rect(20, 20, Screen.width, Screen.height), "Hello World!");
    }
}
